package com.wclass.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.wclass.entity.CourseWare;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 课件 服务类
 * </p>
 *
 * @author 张浩高
 * @since 2018-12-20
 */
public interface ICourseWareService extends IService<CourseWare> {

    Page<Map<String, Object>> selectCourseWareCount(Page<Map<String, Object>> page, Long userId);

    List<Map<String, Object>> selectCourseWareCountByCourseId(Long userId, Long courseInfoId);

}
